var tabList = [{
    title: '首页',
    imageUrl: '/images/home.png',
    currentImageUrl: '/images/home-c.png',
    url: "/pages/youknow/ijustwantsayhello"
  },
  {
    title: '消息',
    imageUrl: '/images/message.png',
    currentImageUrl: '/images/message-c.png',
    url: "/pages/chooseLib/chooseLib"
  },
  {
    title: '个人中心',
    imageUrl: '/images/user.png',
    currentImageUrl: '/images/user-c.png',
    url: "/pages/deployFunctions/deployFunctions"
  }
];

var changeMenu = function(event) {
  var currentTabURL = event.currentTarget.dataset.url;
  console.log(currentTabURL);
  wx.navigateTo({
    url: currentTabURL
  })
};

module.exports = {
  tabList: tabList,
  changeMenu: changeMenu
};